package com.xk857.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 停车场实体类
 * @author sheepl
 * @Date 2021/1/22
 */
@ApiModel("停车场")
@Data
public class CarPart {

    @ApiModelProperty("当前费率")
    private Integer money;

    @ApiModelProperty("收费类型")
    private String rateType;

    @ApiModelProperty("当前空闲车位")
    private Integer parkFreeId;

    public CarPart(Integer money, String reteType, Integer parkFreeId) {
        this.money = money;
        this.rateType = reteType;
        this.parkFreeId = parkFreeId;
    }

    public CarPart() {
    }
}
